import request from '@/utils/request'

export function tablechange(roles, num) { //获取到的数据传到后台
  const data = {
    roles,
    num
  }
  return request({
    url: '/user/table',
    method: 'post',
    data
  })
}

// 数据信息
export function information(roles, num) {
  const data = {
    roles,
    num
  }
  return request({
    url: '/user/infor',
    method: 'post',
    data
  })
}
